package cn.lingyangwl.agile.msg.push.api.model.rqrs;

import cn.lingyangwl.agile.model.constants.ValidationCons;
import cn.lingyangwl.agile.msg.push.api.constatnts.NoticeCodeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @author shenguangyang
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CheckNoAuthUserCaptchaReq {
    /**
     * 接收人, 如果是内部请求, 可以设置接收者, 否则采用当前登录用户信息
     */
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String toUser;

    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String verifyCode;

    /**
     * 任务编码
     * @see NoticeCodeEnum
     */
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String taskCode;
}
